type Connection
    native;

export function close:
    &(Connection) => Async[unit]
    native 'rpc-connection-close';

export function on-close:
    &(Connection) => Async[unit,Error]
    native 'rpc-connection-on-close';


